package com.cf.entity;


import java.util.List;

public class Role {

  private long roleid;
  private String rolename;
  private String roledesc;
  private String roleisdel;
  //定义一个children来保存其角色下的所有的一级权限
  private List<Power> children;

  public List<Power> getChildren() {
    return children;
  }

  public void setChildren(List<Power> children) {
    this.children = children;
  }

  public long getRoleid() {
    return roleid;
  }

  public void setRoleid(long roleid) {
    this.roleid = roleid;
  }


  public String getRolename() {
    return rolename;
  }

  public void setRolename(String rolename) {
    this.rolename = rolename;
  }


  public String getRoledesc() {
    return roledesc;
  }

  public void setRoledesc(String roledesc) {
    this.roledesc = roledesc;
  }


  public String getRoleisdel() {
    return roleisdel;
  }

  public void setRoleisdel(String roleisdel) {
    this.roleisdel = roleisdel;
  }

}
